package com.stormrage.edu.serv.exam;

import java.util.List;

import com.stormrage.entity.exam.ExmExam;
import com.stormrage.entity.exam.rep.ExmExamCountRep;
import com.stormrage.entity.exam.req.ExmExamReq;
import com.stormrage.entity.rep.ListRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface ExmExamServ {

	public Integer create(ExmExam arg0) throws StormrageTechException;

	public void update(ExmExam arg0) throws StormrageTechException;

	public void delete(Integer arg0) throws StormrageTechException;

	public Integer queryCountByRelateType(Integer type, Integer relateType, Integer relateId)
			throws StormrageTechException;

	public ExmExam queryById(Integer arg0) throws StormrageTechException;

	public List<ExmExam> queryListByRelateId(Integer arg0) throws StormrageTechException;

	public ExmExamCountRep queryRepByRelate(ExmExamReq arg0) throws StormrageTechException;

	public ListRep queryListByRelateLimit(ExmExamReq arg0) throws StormrageTechException;

}
